/* ============================================
   新闻详情页样式 - Apple 风格
   ============================================ */

.breadcrumb {
    background: #f5f5f7;
    padding: 12px 0;
    border-bottom: 1px solid #d2d2d7;
}
.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #86868b;
}
.breadcrumb a { color: #0071e3; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span:last-child { color: #1d1d1f; }

.article-section { background: #ffffff; padding: 60px 0 80px; }

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: start;
}

/* 文章主文 */
.article-header { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid #d2d2d7; }
.article-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #0071e3;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.article-header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.35;
    margin-bottom: 16px;
}
.article-meta {
    display: flex;
    gap: 20px;
    font-size: 0.82rem;
    color: #86868b;
}
.article-meta span { display: flex; align-items: center; gap: 5px; }

.article-body {
    font-size: 1rem;
    color: #1d1d1f;
    line-height: 1.85;
}
.article-body p { margin-bottom: 20px; }
.article-body h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-top: 40px;
    margin-bottom: 16px;
}
.article-body strong { font-weight: 600; color: #1d1d1f; }

/* 相关文章 */
.article-related {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid #d2d2d7;
}
.article-related h3 { font-size: 1.05rem; font-weight: 600; color: #1d1d1f; margin-bottom: 20px; }
.related-list { display: flex; flex-direction: column; gap: 12px; }
.related-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f5f5f7;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}
.related-item:hover { background: #e8e8ed; }
.related-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: #0071e3;
    white-space: nowrap;
}
.related-item span:last-child { font-size: 0.88rem; color: #1d1d1f; }

/* 侧边栏 */
.article-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.sidebar-card {
    background: #f5f5f7;
    border-radius: 20px;
    padding: 28px;
}
.sidebar-card h3 { font-size: 1rem; font-weight: 600; color: #1d1d1f; margin-bottom: 10px; }
.sidebar-card > p { font-size: 0.85rem; color: #86868b; line-height: 1.6; margin-bottom: 20px; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 6px;
    background: #0071e3; color: #fff; border: none;
    padding: 10px 20px; border-radius: 980px;
    font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: background 0.3s;
}
.btn-primary:hover { background: #0077ed; }

.sidebar-products { display: flex; flex-direction: column; gap: 12px; }
.sidebar-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}
.sidebar-product:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.sidebar-product img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
    background: #f5f5f7;
    flex-shrink: 0;
}
.sidebar-product div { display: flex; flex-direction: column; }
.sidebar-product strong { font-size: 0.88rem; font-weight: 600; color: #1d1d1f; }
.sidebar-product span { font-size: 0.78rem; color: #86868b; }

/* 页脚 */
.footer { background: #f5f5f7; color: #1d1d1f; padding: 60px 0 30px; }
.footer-wrapper { display: grid; grid-template-columns: 1.5fr 2fr; gap: 60px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #1d1d1f; font-size: 1.3rem; font-weight: 600; margin-bottom: 16px; }
.footer-logo i { color: #0071e3; }
.footer-desc { color: #86868b; line-height: 1.7; margin-bottom: 20px; font-size: 0.9rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-column h4 { color: #1d1d1f; font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 10px; }
.footer-column a { color: #86868b; text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-column a:hover { color: #0071e3; }
.contact-list li { display: flex; align-items: center; gap: 8px; color: #86868b; font-size: 0.85rem; }
.contact-list i { color: #0071e3; width: 14px; }
.footer-bottom { border-top: 1px solid #d2d2d7; padding-top: 24px; text-align: center; }
.footer-bottom p { color: #86868b; font-size: 0.8rem; }
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px; background: #e8e8ed; color: #1d1d1f; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 999; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #0071e3; color: #fff; }

@media (max-width: 1024px) {
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .footer-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .footer-links { grid-template-columns: 1fr; }
}
